package top.healthylife.gateway.dto.request.result;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 返回的基类
 *
 * @author maoxiaomeng
 * @datetime 2020/7/10 17:23
 */
@Data
@Accessors(chain = true)
public class ApiResultDto {

    @ApiModelProperty(value = "结果编号", example = "468125977759617024", reference = "接口网关调用生成的统一编号")
    String no;
    @ApiModelProperty(value = "返回类型", example = "com.xxxx.xx", reference = "接口网关返回的DTO实体类对象")
    String cls;
    @ApiModelProperty(value = "是否命中缓存", example = "true", notes = "命中返回true,未命中返回false", hidden = true)
    Boolean hitCache;
    @ApiModelProperty(value = "三方接口返回的元数据", example = "", notes = "", hidden = true)
    String metadata;
    @ApiModelProperty(value = "请求本次接口的元参数数据", example = "", notes = "", hidden = true)
    String reqMetadata;
}
